* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    background-image: url('../1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nav {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: gray;
    color: white;
}

.nav img {
    width: 45px;
    height: 45px;
    border-radius: 25px;
    margin-left: 10px;
    margin-right: 10px;
}

.nav .spacer {
    width: 80%;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-right: 10px;
}

.blog_container {
    width: 1500px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog_container input {
    width: 1250px;
    height: 40px;
    border-radius: 5px;
}

.blog_container button {
    width: 100px;
    height: 40px;
    border-radius: 10px;
    background-color: orange;
    color: white;
}

.blog_container button:active {
    background-color: gray;
}

#editor {
    border-radius: 10px;
    /* 针对 #editor 用 bgc 属性无法设置半透明了. 里面包含的内容带了背景色 */
    /* background-color:rgba(255, 255, 255, 0.8); */
    /* 可以使用 opacity 属性实现 */
    opacity: 80%;
}